package com.ruoyi.system.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.AppDitch;
import com.ruoyi.system.domain.AppDitchUndering;

/**
 * 渠道下属用户Mapper接口
 *
 * @author ruoyi
 * @date 2023-03-06
 */
public interface AppDitchUnderingMapper extends BaseMapper<AppDitchUndering> {
    /**
     * 查询渠道下属用户
     *
     * @param id 渠道下属用户主键
     * @return 渠道下属用户
     */
    public AppDitchUndering selectAppDitchUnderingById(Long id);

    /**
     * 查询渠道下属用户列表
     *
     * @param appDitchUndering 渠道下属用户
     * @return 渠道下属用户集合
     */
    public List<AppDitchUndering> selectAppDitchUnderingList(AppDitchUndering appDitchUndering);

    /**
     * 新增渠道下属用户
     *
     * @param appDitchUndering 渠道下属用户
     * @return 结果
     */
    public int insertAppDitchUndering(AppDitchUndering appDitchUndering);

    /**
     * 修改渠道下属用户
     *
     * @param appDitchUndering 渠道下属用户
     * @return 结果
     */
    public int updateAppDitchUndering(AppDitchUndering appDitchUndering);

    /**
     * 删除渠道下属用户
     *
     * @param id 渠道下属用户主键
     * @return 结果
     */
    public int deleteAppDitchUnderingById(Long id);

    /**
     * 批量删除渠道下属用户
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppDitchUnderingByIds(Long[] ids);
}
